import dayjs from 'dayjs'
export const column = [
  {
    title: 'AM/PM Name',
    dataIndex: 'displayName',
    key: 'displayName'
  },
  {
    title: 'Total Clients',
    dataIndex: 'totalCount',
    key: 'totalCount'
  },
  {
    title: 'Active',
    dataIndex: 'activeCount',
    key: 'activeCount'
  },
  {
    title: 'Blacklist',
    dataIndex: 'blackListCount',
    key: 'blackListCount'
  },
  {
    title: 'Inactive',
    dataIndex: 'inActiveCount',
    key: 'inActiveCount'
  },
  {
    title: 'Branch',
    dataIndex: 'branchName',
    key: 'branchName'
  }
]
export const clientColumn = [
  {
    title: 'Client Name',
    dataIndex: 'fullName',
    key: 'fullName'
  },
  {
    title: 'Status',
    dataIndex: 'statusName',
    key: 'statusName'
  },
  {
    title: 'Type',
    dataIndex: 'clientKindName',
    key: 'clientKindName'
  },
  {
    title: 'Country/Region',
    dataIndex: 'countryName',
    key: 'countryName'
  },
  {
    title: 'Created By',
    dataIndex: 'displayName',
    key: 'displayName'
  },
  {
    title: 'Created On',
    dataIndex: 'createOn',
    key: 'createOn',
    customRender: ({ text }) => (text ? dayjs(text).format('MM/DD/YYYY HH:MM') : '--')
  }
]
